import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path:"/",
        redirect: "/list"
    },
    {
        path: '/dashdemo',
        name: 'Dashdemo',
        component: () => import("@/views/dashdemo/index.vue")
    },
    {
        path: '/list',
        name: 'List',
        component: () => import("@/views/list/index.vue")
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router